package com.yanqu.road.entity.activity.stronghold.config;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_s_activity_stronghold_time")
public class StrongholdTimeConfig {
    @FieldTypeAnnotation(select = true)
    private int activityId;
    @FieldTypeAnnotation
    private int timeId;
    @FieldTypeAnnotation
    private int type;
    @FieldTypeAnnotation
    private int beginTime;
    @FieldTypeAnnotation
    private int durationTime;
    @FieldTypeAnnotation
    private String param;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getTimeId() {
        return timeId;
    }

    public void setTimeId(int timeId) {
        this.timeId = timeId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(int beginTime) {
        this.beginTime = beginTime;
    }

    public int getDurationTime() {
        return durationTime;
    }

    public void setDurationTime(int durationTime) {
        this.durationTime = durationTime;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public int getEndTime() {
        return beginTime + durationTime;
    }
}
